use axum::Json;
use serde_json::Value;
use crate::reqwest;

// 下单
pub async fn place_order(data:Value) -> Result<Value, Json<Value>>{
    let url = "/v3/pay/partner/transactions/h5";
    let rs = reqwest::post(url, data).await?;
    Ok(rs)
}